package com.common.user.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.common.user.domain.User;

public interface UserRepository extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> {
	
	/**
	 * Find a user by username.
	 * @param username
	 * @return
	 */
	User findByUsername(String username);
}
